From db82df4638d1d539e54a71730b65cf0e9b23ef51 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 13 Jan 2015 19:54:55 -0800 Subject: [PATCH] Mention profiles in --help pages Closes #999 --- src/bin/bench.rs | 2 ++ src/bin/build.rs | 4 ++++ src/bin/test.rs | 2 ++ 3 files changed, 8 insertions(+) diff --git a/src/bin/bench.rs b/src/bin/bench.rs index 56df9e294..f8bf15ab9 100644 --- a/src/bin/bench.rs +++ b/src/bin/bench.rs @@ -45,6 +45,8 @@ If the --package argument is given, then SPEC is a package id specification which indicates which package should be benchmarked. If it is not given, then the current package is benchmarked. For more information on SPEC and its format, see the `cargo help pkgid` command. + +Compilation can be customized with the `bench` profile in the manifest. "; pub fn execute(options: Options, shell: &mut MultiShell) -> CliResult> { diff --git a/src/bin/build.rs b/src/bin/build.rs index 61e92d611..ec1c02e85 100644 --- a/src/bin/build.rs +++ b/src/bin/build.rs @@ -41,6 +41,10 @@ If the --package argument is given, then SPEC is a package id specification which indicates which package should be built. If it is not given, then the current package is built. For more information on SPEC and its format, see the `cargo help pkgid` command. + +Compilation can be configured via the use of profiles which are configured in +the manifest. The default profile for this command is `dev`, but passing the +--release flag will use the `release` profile instead. "; pub fn execute(options: Options, shell: &mut MultiShell) -> CliResult> { diff --git a/src/bin/test.rs b/src/bin/test.rs index 48a7db6c7..a723210fd 100644 --- a/src/bin/test.rs +++ b/src/bin/test.rs @@ -47,6 +47,8 @@ If the --package argument is given, then SPEC is a package id specification which indicates which package should be tested. If it is not given, then the current package is tested. For more information on SPEC and its format, see the `cargo help pkgid` command. + +Compilation can be configured via the `test` profile in the manifest. "; pub fn execute(options: Options, shell: &mut MultiShell) -> CliResult> { -- 2.30.2